﻿{extend name="public:layer_new_page_base"}
{block name="content"}
<!-- /.aside -->
<section id="content">
    <section class="vbox">
        <section class="scrollable padder">
            {include file="public:mylocal" /}
            <section class="panel panel-default">
                {include file="public:table_form_header" /}
                <div class="panel-body">
                    <form id="ajaxform_close" class="form-horizontal" method="post">

                        <div class="form-group">
                            <label class="col-sm-2 control-label">选择用户组</label>
                            <div class="col-sm-10">
                              <select class="form-control" required name="belong_group_id">
                                <option value=""> -- 选择用户组 --</option>
                                {volist name="group" id="vo"}
                                <option value="{$vo.id}"> {$vo.group_name} </option>
                                {/volist}
                              </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">账号</label>
                            <div class="col-sm-10">
                                <input type="text" name="username" maxlength="128" class="form-control" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否启用</label>
                            <div class="col-sm-10">
                                <label class="switch">
                                    <input type="checkbox" value="1" name="status" checked>
                                    <span></span> 
                                </label>
                            </div>
                        </div>
                        
                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注</label>
                            <div class="col-sm-10">
                                <textarea class="form-control parsley-validated" rows="6" data-minwords="6" data-required="true" placeholder=" 备注信息可留空" name="note" maxlength="200"></textarea>
                            </div>
                        </div>
                        
                        <div class="line line-dashed line-lg pull-in"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"></label>
                            <div class="col-sm-10">
                                <p>* 默认密码为：{:config('domain_config.default_password')}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="reset"  class="btn btn-default" style="padding:6px 12px;font-size: 14px;">重 置</button>
                                <button type="submit" class="btn btn-primary" style="padding:6px 12px;font-size: 14px;">保 存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </section>
        </section>
    </section>
</section>
            

{/block}
{/extend}
